package com.icebartech.base.modules.user.service;

import java.util.List;

import com.icebartech.base.modules.user.dto.AppPermissionInfoDTO;
import com.icebartech.core.modules.BaseService;

/**
 * 权限项service接口类
 *
 * @author wenhsh
 */
public interface AppPermissionService extends BaseService {
    
    /**
     * 获取系统所有的权限项
     * @return
     */
    public List<AppPermissionInfoDTO> getAllAppPermissions();
    
    /**
     * 获取用户拥有的所有权限
     * @param userId
     * @return
     */
    public List<AppPermissionInfoDTO> findUserPermissions(Long userId);
    
}
